import requests
import json
import sys  
from PyQt5.QtWidgets import QApplication, QDialog
import Ui_about
API_KEY = "SO8K3o2U9qm2WVqH6w7qOHrO"
SECRET_KEY = "Jjo4bypthpWi6j36Gp8IRaHexl7d19t2"


class aboutwindow(QDialog):
    def __init__(self, parent=None):  
        super(aboutwindow, self).__init__(parent)  
        self.ui =Ui_about.Ui_Form() 
        
        self.ui.setupUi(self)
        
        self.ui.pushButton.clicked.connect(self.about_quit)
        
        labeltext='点击开始测试按钮，会进入聊天界面，\n当你回答足够多的问题或点击‘分析’按钮，\n系统会根据你的回答为您返回分析结果'
        self.ui.label.setText(labeltext)
    def about_quit(self):
        self.close()
 

if __name__ == '__main__':
    app = QApplication(sys.argv)  
    mainWin = aboutwindow()  
    mainWin.show() 
    sys.exit(app.exec_())